package org.maitaole.service.impl;

import org.maitaole.entity.TbBrand;
import org.maitaole.mapper.TbBrandMapper;
import org.maitaole.service.ITbBrandService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TbBrandServiceImpl implements ITbBrandService {

    @Resource
    private TbBrandMapper tbBrandMapper;

    @Override
    public List<TbBrand> getAll() {
        return tbBrandMapper.selectList(null);
    }
}
